#pragma once

#include "ColorInterpolator.h"

class CColorBar : public CColorInterpolator
{
public:
	CColorBar();
	~CColorBar();

	int GetKeysSize() const;
	void SetKeysSize(int sz);

	int GetKeysDist() const;
	void SetKeysDist(int d);

	void DrawColorBar(CDC* pDC,
					  const CRect& rect,
					  BOOL horis,
					  BOOL invert = FALSE,
					  BOOL showKeys = TRUE) const;

private:

	int m_nKeysSize;
	int m_nKeysDist;

};